/*
 * @(#)FakeRetrieveIdentityService.java
 * Date 2013-10-01
 * Version 1.0
 * Author Jim Horner
 * Copyright (c)2012
 */


package us.hornerscorners.lamppost.registry.inject;

import javax.enterprise.context.ApplicationScoped;

import javax.enterprise.inject.Alternative;

import org.hl7.v3.MCCIIN000002UV01;
import org.hl7.v3.PRPAIN201301UV02;
import org.hl7.v3.PRPAIN201302UV02;
import org.hl7.v3.PRPAIN201304UV02;

import us.hornerscorners.lamppost.exception.ServiceActionException;

import us.hornerscorners.lamppost.model.common.InstanceIdentifier;

import us.hornerscorners.lamppost.model.patient.PatientIdentity;

import us.hornerscorners.lamppost.registry.service.IPatientIdentityService;


/**
 * Class description
 *
 *
 * @version        v1.0, 2013-10-01
 * @author         Jim Horner
 */
@ApplicationScoped
@Alternative
public class FakeRetrieveIdentityService implements IPatientIdentityService {

    /**
     * Constructs ...
     *
     */
    public FakeRetrieveIdentityService() {

        super();
    }

    /**
     * Method description
     *
     *
     * @param identifier
     *
     * @throws ServiceActionException
     */
    @Override
    public void addPatientIdentity(InstanceIdentifier identifier)
            throws ServiceActionException {
        throw new UnsupportedOperationException("Not supported yet.");    // To change body of generated methods, choose Tools | Templates.
    }

    /**
     * Method description
     *
     *
     * @param body
     *
     * @return
     */
    @Override
    public MCCIIN000002UV01 addPatientIdentity(PRPAIN201301UV02 body) {
        throw new UnsupportedOperationException("Not supported yet.");    // To change body of generated methods, choose Tools | Templates.
    }

    /**
     * Method description
     *
     *
     * @param body
     *
     * @return
     */
    @Override
    public MCCIIN000002UV01 resolvePatientIdentity(PRPAIN201304UV02 body) {
        throw new UnsupportedOperationException("Not supported yet.");    // To change body of generated methods, choose Tools | Templates.
    }

    /**
     * Method description
     *
     *
     * @param identifier
     *
     * @return
     *
     * @throws ServiceActionException
     */
    @Override
    public PatientIdentity retrievePatientIdentity(InstanceIdentifier identifier)
            throws ServiceActionException {

        PatientIdentity result = new PatientIdentity();

        result.setIdentifier(identifier);

        return result;
    }

    /**
     * Method description
     *
     *
     * @param body
     *
     * @return
     */
    @Override
    public MCCIIN000002UV01 revisePatientIdenity(PRPAIN201302UV02 body) {
        throw new UnsupportedOperationException("Not supported yet.");    // To change body of generated methods, choose Tools | Templates.
    }
}
